import 'package:flutter/material.dart';
import 'package:flutter_1911/pages/page.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';


//尝试
//qwe
void main() {
  runApp(const MyApp());
}
class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);




  @override
  Widget build(BuildContext context) {
    return ScreenUtilInit(
      designSize: const Size(750, 1334),
      minTextAdapt: true,
      splitScreenMode: true,
      builder: (BuildContext context, Widget? child) {
        //MaterialApp当根结点
        return MaterialApp(
          //隐藏debug
          debugShowMaterialGrid: false,
          title: '19111demo',
          debugShowCheckedModeBanner: false,
          theme: ThemeData(primaryColor: Colors.pink), //设置主题颜色
          home: IndexPage(),
        );
      },
    );
  }
}

